package com.factory.simplefactory.pizzastore.order;

import java.util.Calendar;

/**
 * @author zhupanlin
 * @version 1.0
 * @description: TODO
 * @date 2024/4/13 10:14
 */
// 相当于客户端，发出订购
public class PizzaStore {

    public static void main(String[] args) {
        //new OrderPizza();
        // 使用简单工厂模式
       /* new OrderPizza(new SimpleFactory());
        System.out.println("~~~~退出程序~~~~");*/
        
        new OrderPizza2();
        System.out.println("~~退出程序~~");

        Calendar instance = Calendar.getInstance();
    }
    
}
